<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!-- 张金玉 -->
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>确认预订信息</title>
<link rel="stylesheet" type="text/css"
	href="../GoodProject/js/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../GoodProject/js/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../GoodProject/js/easyui/demo/demo.css">
<link rel="stylesheet" type="text/css" href="../GoodProject/css/ticket.css">
<script type="text/javascript" src="../GoodProject/js/easyui/jquery.min.js"></script>
<script type="text/javascript" src="../GoodProject/js/easyui/jquery.easyui.min.js"></script>


</head>
<body>
<div>
   <div id="top" >
   <table width="100%"  align="center">
  <tr>
    <td width="1411" colspan="2" background="../GoodProject/images/ny_top_img_bg.gif"><img src="../GoodProject/images/ny_top_img.gif" width="650" height="108"></td>
    </tr>
 </table>
	</div>

<div id="navi" >
  	<span id="cr">当前选择》》车票预订</span>
	<span id="user">欢迎您${sessionScope.username},退出</span>
  </div>
  <div id="menu">
  <table width="247">
  
	<tr>
	<td width="75">&nbsp;</td>
	<td width="165" height="35"><span class="text_blod">用户</span></td></tr>
	<tr>
	<td ><img src="../GoodProject/images/ny_arrow1.gif"></td>
    <td height="35" class="text_cray">车票预订</td>
	</tr>
	<tr><td ><img src="../GoodProject/images/ny_arrow1.gif"></td>
    <td height="35" class="text_cray">个人信息</td></tr>
	<tr><td ><img src="../GoodProject/images/ny_arrow1.gif"></td>
    <td height="35" class="text_cray">订单详情</td></tr>

  
  </table>
  
  </div>
<div id="content">

<div class="easyui-panel" title="预订信息" style="width:100%;max-width:600px;padding:30px 60px;">
<form action="/GoodProject/TicketServlet?action=addOrder" method="post">
        <div style="margin-bottom:20px">
         <input type="hidden" name="tid"  value="${ticket.id }">
           <%--  <input class="easyui-textbox" label="id:"  value="${ticket.id }"  name="tid" style="width:80%;height:34px"> --%>
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="用户名:"  value="${sessionScope.user.name }"  editable="false" style="width:80%;height:34px">
        </div>
         <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="真实姓名:"  value="${sessionScope.user.rname }" editable="false" style="width:80%;height:34px">
        </div>
         <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="证件类型:" value="${sessionScope.user.cardType }"editable="false"  style="width:80%;height:34px">
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="证件号码:" value="${sessionScope.user.card}" editable="false" style="width:80%;height:34px">
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="出发时间:" value="${ticket.times}" editable="false" style="width:80%;height:34px">
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="车次:"  value="${ticket.train }" editable="false" style="width:80%;height:34px">
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="出发地:"  value="${ticket.splace}"  editable="false" name="splace" style="width:80%;height:34px">
        </div>
         <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="目的地:" value="${ticket.eplace}" name="eplace" editable="false" style="width:80%;height:34px">
        </div>
         <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="座位号:"  value="${ran.substring(0,2)}"  editable="false" style="width:40%;height:34px">车厢
            <input class="easyui-textbox"  value="${ran.substring(2)}"  editable="false" style="width:20%;height:34px">号
            <input type="hidden" name="seat"  value="${ran}">
        </div>
        
        <div>
            <input type="submit"  style="width:30%;height:32px" value="提交订单">
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            <a href="ShowTicket.jsp" class="easyui-linkbutton"  style="width:30%;height:32px">返回</a>
        </div>
        </form>
    </div>
    
    </div>
    <div id="foot">

</div>
</div>




</body>
</html>